]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
iconGrid: Remove this.actor definition to BaseIcon
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 9 Apr 2019 23:25:20 +0000 (18:25 -0500)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 17 Apr 2019 21:32:18 +0000 (21:32 +0000)
Remove this.actor = actor, since the class is now an actor itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487

js/ui/iconGrid.js

index d51a443e80f5e7967a390964cfd4f3d59c748649..fea6970dd7b29efd1657103049d142d60db8eedb 100644 (file)
@@ -43,8 +43,6 @@ class BaseIcon extends St.Bin {
                       x_fill: true,
                       y_fill: true });
 
-        this.actor = this;
-
         this.connect('destroy', this._onDestroy.bind(this));
 
         this._box = new St.BoxLayout({ vertical: true });
@@ -188,8 +186,6 @@ var IconGrid = GObject.registerClass({
         super._init({ style_class: 'icon-grid',
                       y_align: Clutter.ActorAlign.START });
 
-        this.actor = this;
-
         params = Params.parse(params, { rowLimit: null,
                                         columnLimit: null,
                                         minRows: 1,